<?php

namespace app\home\validate;
use think\Validate;

class Forget extends Validate
{
    protected $rule = [
        'mobile'    => 'require',
        'pwd'       => 'require|min:6'
    ];

    protected $message = [
        'mobile.require'    => '请输入手机号',
        'pwd.require'       => '密码不能为空',
        'pwd.min'           => '请输入六位以上密码'
    ];
}